<?php
//database server
define('DB_SERVER', "localhost");

//database login name
define('DB_USER', "castfree_user");
//database login password
define('DB_PASS', "casa2");

//database name
define('DB_DATABASE', "castfree_go");

//$_GET request
$getvars = array("p","id","s","fid", "vw", "vh", "domain","v");
foreach($getvars as $i => $value){
@$$value = addslashes($_GET[$value]);
	}


//default theme
define('basefolder', "/");
define('fmsip', "80.241.216.8");
define('fmsuser', "root");
define('fmspass', "casa2");
define('adminuser', "admin");
define('adminpass', "casa2");
define('emailaddres', "ppvtv@hotmail.com");
define('domain', "http://castfree.net");
define('abspath', "/opt/lampp/htdocs");
define('theme', abspath."/content/templates/castfree");
define('sitename', "castfree");
define('cdnurl', "http://cdn.castfree.net");
$allowedurl = array("castfree.net", "www.castfree.net", "castfree.net", "www.castfree.net");



@$random =  rand(0);
if($random == 0){define('livestream', "rtmp://stream.castfree.net/live/");}
//$random =  rand(0, 3);

//define('livestream', "rtmp://stream.castfree.net/live/");


define('livestream_s', "rtmp://stream.castfree.net/live/");

define('aboutext', "castfree.net live streaming");
define('jsdomain', "http:\/\/castfree.net");

//sitelinks
$bottomlinks = array("Privacy Policy" => array(domain."/index.php?p=c&id=privacy-policy", "privacy-policy"), "DMCA Guidelines" => array(domain."/index.php?p=c&id=dmca-guidelines", "dmca-guidelines"),"Terms" => array(domain."/index.php?p=c&id=terms", "terms"));

$supportlinks = array("Contact us" => array(domain."/index.php?p=contact-us", "contact-us"));

?>
